#ifndef LISTITEMBASE_H
#define LISTITEMBASE_H

#include "global.h"

// 各条目类型的基类
class ListItemBase : public QWidget
{
    Q_OBJECT
public:
    explicit ListItemBase(QWidget *parent = nullptr);

    void setItemType(ListItemType type);

    ListItemType getListItemType() const;

protected:
    void paintEvent(QPaintEvent* event);

signals:


private:
    ListItemType m_item_type;
};

#endif // LISTITEMBASE_H
